package cn.topevery.garden.entity.dto;

import cn.topevery.garden.entity.po.ProjAudit;
import cn.topevery.garden.entity.po.ProjBasicInfo;
import cn.topevery.garden.entity.po.ProjFiles;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.List;

/**
 * 审计决算表 DTO
 *
 * @author code-generate
 * @date 2022-11-02
 */
@Data
@ApiModel(value = "ProjAuditDTO", description = "审计决算表 DTO")
public class ProjAuditDTO implements Serializable {

    @ApiModelProperty(value = "待删除附件fileId集合")
    private List<String> deleteFileIds;

    @ApiModelProperty("待删除审计项id集合")
    private List<Integer> deleteObjIds;

    @ApiModelProperty(value = "附件列表")
    private List<ProjFiles> files;

    @ApiModelProperty("审计结算列表")
    @NotEmpty(message = "结算列表不能为空")
    private List<ProjAudit> projAuditList;

    @ApiModelProperty("项目id")
    @NotBlank(message = "项目id不能为空")
    private String projId;

    @ApiModelProperty("项目结算id")
    private String projAuditId;

    @ApiModelProperty(value = "项目信息")
    ProjBasicInfo projBasicInfo;
}
